<?php
    
    include('inc/db_connect.php');
 

echo '
        <form class="formular" action="index.php?section=feedback" method="post" id="feedbackanalyse" name="feedbackanalyse">
        <ul>
            <li>
                 <h2>Feedback analysieren ';
    
    
                
    echo '</h2>
                 <span class="required_notification">* Ben&ouml;tigte Felder</span>
            </li>
            
    
        <li>
            <label for="von_datum">Von</label>
            <input id="von_datum" type="date" name="von_datum" placeholder="YYYY-MM-DD" value="' . date("Y-m-d", time()) . '" required>
        </li>
           <li>
            <label for="bis_datum">Bis</label>
            <input id="bis_datum" type="date" name="bis_datum" placeholder="YYYY-MM-DD" value="' . date("Y-m-d", time()) . '" required>
        </li>
        </li>
             
            <li>
                <button class="submit buttonIEenable" name="auswerten_feedback" onclick="drawDiagramm();" type="button">Auswerten</button>
            </li>
        </ul>
    </form>
    ';


    echo '
    <canvas id="myChart" width="400" height="400" style="float:left">
    Ihre Browser ist nicht HTML5 tauglich.
    </canvas>

        <div style="padding: 50px" >
            <table  cellpadding="3" cellspacing="1" >
             <tbody id="legende">
                <tr>
                    <th>Farbe</th>
                    <th>Thema</th>
                    <th>Anzahl</th>
                </tr>  
            </tbody>  
        </table>
    </div>

    <br />

';



   







?>